<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <script src="./js/libui.js"></script>
        <script src="./js/main.js"></script>
        <title>Hacker-Web 在线渗透测试系统</title>
        <link href="./css/index.css" rel="stylesheet" />
    </head>
    <body>
        <h3 style="margin: 0px;font-size: 20px;height: 30px;padding: 5px;color: white;width: 100%;background-color: orange;">HackerWeb在线渗透测试系统</h3>
        <div class="a_1" style="border: 1px solid white;">
            <style>
                .a_1 * {
                    border: 1px solid white;
                }
                .a_1 div {
                    padding: 5px;
                }
                .a_3 * {
                    border: none;
                }
            </style>
            <div>
                <button onclick="to_web_virus()">浏览器远程控制木马</button>
                <button onclick="window.open('http://www.hackerstack.top/')">HackerStack综合渗透模块</button>
                <button onclick="to_cc_attack()">CC攻击模块</button>
                <button onclick="to_mail()">邮件模块</button>
            
            </div>
            <br />
            <div class="a_3" style="font-size: 14px;width: calc(100% - 12px);background-color: rgb(49, 49, 49);height: calc(70% - 50px);">
                <h2 style="color: black;background-color: white;margin: 0px;">日志控制台</h2>
                <br />
                <div id="log_console" style="scroll-behavior: smooth;;height: calc(85% - 10px);overflow-y: scroll;">

                </div>
            </div>
            <button id="login" style="position: absolute;bottom: 10px;left: 5px;width: calc(100% - 10px);">登录/注册</button>
        </div>
        <iframe style="border: 1px solid white;" id="page" class="a_2" src="./page/default.html">

        </iframe>
        <div id="reg_win" align="center" style="display: none;" class="login_win">
            <div style="max-width: 500px;height: 500px;border: 1px solid white;margin-top: 100px;background-color: rgba(0, 0, 0, 0.479);padding: 10px;padding-right: 10px;">
                <h2>LinwinSoft通行证 注册</h2>
                <br /><br />
                <input id="reg_username" placeholder="注册用户名" />
                <br />
                <br />
                <input type="password" id="reg_password" placeholder="注册密码" />
                <br />
                <br />
                <div>
                    <div style="float: left;width: 60%;">
                        <input id="check_code" placeholder="验证码" />
                    </div>
                    <div style="float: right;width: calc(40%);">
                        <img id="check_code_img" onclick="document.getElementById('check_code_img').src='http://user.hackerstack.top/get_check_code'" src="http://user.hackerstack.top/get_check_code" style="border-radius: 10px;height: 50px;" />
                    </div>
                </div>
                <br />
                <br />
                <br />
                <br />
                <button style="border-radius: 5px;background-color: rgba(0, 0, 0, 0);color: #00FF00;border: #00FF00;height: 30px;border: 1px solid #00FF00;float: left;margin-left: 10px;" onclick="showLoginWindow()">已有账户? 登录</button>
            
                <br />
                <br />
                <br />
                <br />
                <button onclick="user_reg()" style="border-radius: 5px;background-color: rgba(0, 0, 0, 0);color: #00FF00;border: #00FF00;height: 30px;border: 1px solid #00FF00;float: left;margin-left: 10px;width: calc(100% - 20px);height: 40px;">注册</button>
            </div>
        </div>
        <div align="center" class="login_win" id="login_win">
            <div style="max-width: 500px;height: 500px;border: 1px solid white;margin-top: 100px;background-color: rgba(0, 0, 0, 0.479);padding: 10px;padding-right: 10px;">
                <h2>LinwinSoft通行证 登录</h2>
                <br /><br />
                <input id="username" placeholder="用户名" />
                <br />
                <br />
                <input type="password" id="password" placeholder="密码" />
                <br />
                <br />
                <button onclick="showRegWindow()" style="border-radius: 5px;background-color: rgba(0, 0, 0, 0);color: #00FF00;border: #00FF00;height: 30px;border: 1px solid #00FF00;float: left;margin-left: 10px;">没有账户? 注册</button>
            
                <br />
                <br />
                <br />
                <br />
                <button onclick="user_login()" style="border-radius: 5px;background-color: rgba(0, 0, 0, 0);color: #00FF00;border: #00FF00;height: 30px;border: 1px solid #00FF00;float: left;margin-left: 10px;width: calc(100% - 20px);height: 40px;">登录</button>
            </div>
        </div>
    </body>
</html>